<?php
/**
 * name:更新作业记录
 * url:/erpHomework/update_homework_record
 */

//获取参数
$oshr_id = $route->bodyParams["oshr_id"];//主键ID

//更新条件
$whereArr = [
    "oshr_id" => $oshr_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_submit_homework_record",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );